package com.link.base.base.productgroup.controller;

import javax.annotation.Resource;

import com.link.base.base.productgroup.model.Productgroup;
import com.link.base.base.productgroup.service.ProductgroupService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 产品分组- 
 *
 * @author 陈罗星
 * @date 2019/04/05 15:41
 */
@Controller
@RequestMapping("/link/productgroup")
public class ProductgroupController extends BasicController<Productgroup> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private ProductgroupService productgroupService;

    @Override
    public BasicService<Productgroup> getBasicService() throws Exception {
        return productgroupService;
    }     
}
